package com.chenfeng.ego.rest.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

import com.chenfeng.ego.mapper.TbItemMapper;
import com.chenfeng.ego.pojo.TbItem;
import com.chenfeng.ego.rest.service.TbItemService;
@Service
public class TbItemServiceImpl implements TbItemService
{

	@Resource
	private TbItemMapper itemMapper;
	@Override
	public TbItem selByTd(long id)
	{
		
		return itemMapper.selectByPrimaryKey(id);
	}

}
